package com.czl.module_storehouse.bean;

import com.czl.base.data.bean.tengyun.SortBean;

/**
 * @author xubin
 */
public class SortInfoBean {

    public static final int TAG_SORT = 1;
    public static final int TAG_PRODUCT = 2;
    private Integer manageMode;
    private String sortModel;
    private String sortCode;
    private String sortImg;
    private String sortName;
    private int sortPId;
    private int classStatus;
    private String unit;
    private Integer useMode;
    private Integer valuation;
    private int companyId;
    private String propCompanyId;
    private String pIdPath;
    private int sortType;
    private String propCompanyShortName;
    private String propCompanyName;
    private String companyShortName;
    private String companyName;

    public void setSortBean(SortBean sortBean) {
        if (sortBean == null) {
            return;
        }
        this.sortCode = sortBean.getSortCode();
        this.sortModel = sortBean.getSortModel();
        this.sortName = sortBean.getSortName();
        this.useMode = sortBean.getUseMode();
        this.manageMode = sortBean.getManageMode();
    }

    public void setEditSortBean(SortBean sortBean) {
        if (sortBean == null) {
            return;
        }
        this.sortCode = sortBean.getSortCode();
        this.sortModel = sortBean.getSortModel();
        this.sortName = sortBean.getSortName();
        this.useMode = sortBean.getUseMode();
        this.sortImg = sortBean.getSortImg();
        this.pIdPath = sortBean.getPIdPath();
        this.manageMode = sortBean.getManageMode();
    }

    public String getpIdPath() {
        return pIdPath;
    }

    public void setpIdPath(String pIdPath) {
        this.pIdPath = pIdPath;
    }

    public int getSortType() {
        return sortType;
    }

    public void setSortType(int sortType) {
        this.sortType = sortType;
    }

    public String getPropCompanyShortName() {
        return propCompanyShortName;
    }

    public void setPropCompanyShortName(String propCompanyShortName) {
        this.propCompanyShortName = propCompanyShortName;
    }

    public String getPropCompanyName() {
        return propCompanyName;
    }

    public void setPropCompanyName(String propCompanyName) {
        this.propCompanyName = propCompanyName;
    }

    public String getCompanyShortName() {
        return companyShortName;
    }

    public void setCompanyShortName(String companyShortName) {
        this.companyShortName = companyShortName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public int getClassStatus() {
        return classStatus;
    }

    public void setClassStatus(int classStatus) {
        this.classStatus = classStatus;
    }

    public int getManageMode() {
        return manageMode;
    }

    public void setManageMode(int manageMode) {
        this.manageMode = manageMode;
    }

    public String getSortModel() {
        return sortModel;
    }

    public void setSortModel(String sortModel) {
        this.sortModel = sortModel;
    }

    public String getSortCode() {
        return sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    public String getSortImg() {
        return sortImg;
    }

    public void setSortImg(String sortImg) {
        this.sortImg = sortImg;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public int getSortPId() {
        return sortPId;
    }

    public void setSortPId(int sortPId) {
        this.sortPId = sortPId;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public int getUseMode() {
        return useMode;
    }

    public void setUseMode(int useMode) {
        this.useMode = useMode;
    }

    public int getValuation() {
        return valuation;
    }

    public void setValuation(int valuation) {
        this.valuation = valuation;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public String getPropCompanyId() {
        return propCompanyId;
    }

    public void setPropCompanyId(String propCompanyId) {
        this.propCompanyId = propCompanyId;
    }
}
